<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="Cache-Control" content="no-transform" />
    <!-- 页面不会被缓存 -->
    <meta name="applicable-device"content="pc,mobile">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />

    <title>cardecho</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="__STATIC__/lib/index/css/slicy.css" />
    <link rel="stylesheet" href="__STATIC__/lib/index/css/swiper.min.css" />
    <link rel="stylesheet" href="__STATIC__/lib/index/css/style.css" />
    <link rel="stylesheet" href="__STATIC__/lib/index/css/responsive.css" />
    <link rel="stylesheet" href="__STATIC__/lib/index/layui/css/layui.css" />
    <script src="/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/jquery.qrcode.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC__/lib/index/layui/layui.js"></script>
    <script src="__STATIC__/lib/index/js/swiper.min.js"></script>
    <script src="__STATIC__/lib/index/js/wow.min.js"></script>
    <script src="__STATIC__/lib/index/js/script.js"></script>
    <script src="__STATIC__/js/shop.js"></script>

</head>

<body>
<div class="layout">
    <div class="header clearfix">
        <a href="#" class="logo" style="margin: -5px;font-size: 30px;padding-top: 40px;padding-left: 15px;font-weight: bold">CardEcho</a>
        <div class="frts clearfix">
            <div class="fnotice">
                <div class="icon"><img src="__STATIC__/lib/index/images/fn1.png" alt=""></div>
                <div class="fnoticesw">
                    <ul class='swiper-wrapper'>
                        {foreach $notice_list as $k=>$v}
                        <li class='swiper-slide notice_text'>
                            <a href='#'>
                                <div class="time notice_text">
                                <h5>{$v.title}</h5> <h6>{:getTime($v.ctime + 8*60*60 )}</h6>
                                </div>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
                <a href="#" class="more">更多公告</a>
            </div>
            <div class="ftips clearfix">
<!--                <div class="enlst">-->
<!--                    <ul>-->
<!--                        <li><a href="#">-->
<!--                            <img src="__STATIC__/lib/index/images/fn2.png" alt="">-->
<!--                            <img src="__STATIC__/lib/index/images/fn2-1.png" alt="">-->
<!--                        </a></li>-->
<!--                        <li><a href="#">-->
<!--                            <img src="__STATIC__/lib/index/images/fn3.png" alt="">-->
<!--                            <img src="__STATIC__/lib/index/images/fn3-1.png" alt="">-->
<!--                        </a></li>-->
<!--                    </ul>-->
<!--                </div>-->
                <div class="fwh">
                    <div class="fadmin" >
                        <a href="{:url('user/account')}" >
<!--                            <div class="icon"><img src="__STATIC__/lib/index/images/fd1.jpg" alt=""></div>-->
                            <div class="txt" ><h5 style="max-width: 220px;font-weight: bold">{$data_user.username}</h5></div>
                        </a>
                    </div>
                    <div class="fnli">
                        <dl>
                            <dd><a href="#"></a></dd>
                            <dd><a href="#"></a></dd>
                            <dd><a href="#"></a></dd>
                        </dl>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix">
        <div class="fnaverlt">
            <div class="list">
                <ul>
                    <li class="{if $menu_class == 'card_header'}on{/if}">
                        <div class="fnav"><a href="{:url('cards/shopSearch')}">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh15.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh15-1.png" alt="">
                            </div>
                            <h3>卡头应用场景查询</h3><span></span>
                        </a></div>
                    </li>
                    <li class="{if $menu_class == 'index'}on{/if}">
                        <div class="fnav"><a href="{:url('home/index')}">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh1.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh1-1.png" alt="">
                            </div>
                            <h3>概览</h3><span></span>
                        </a></div>
                    </li>
<!--                    <li class="{if $menu_class == 'data'}on{/if}">-->
<!--                        <div class="fnav"><a href="{:url('data/index')}">-->
<!--                            <div class="icon">-->
<!--                                <img src="__STATIC__/lib/index/images/fh2.png" alt="">-->
<!--                                <img src="__STATIC__/lib/index/images/fh2-1.png" alt="">-->
<!--                            </div>-->
<!--                            <h3>数据报表</h3><span></span>-->
<!--                        </a></div>-->
<!--                    </li>-->

                    <li class="{if $menu_class == 'server'}on{/if}">
                        <div class="fnav"><a href="{:url('server/index')}">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh3.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh3-1.png" alt="">
                            </div>
                            <h3>费率方案</h3><span></span>
                        </a></div>
                    </li>


                    <li class="{if $menu_class == 'fund'}on{/if}">
                        <div class="fnav"><a href="#">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh4.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh4-1.png" alt="">
                            </div>
                            <h3>资金中心</h3>
                        </a><i></i></div>
                        <div class="nali" style="display: {if $menu_class == 'fund'}block{/if}" >
                            <dl>
                                <dd class="{if $menu_child == 'fund_index'}on{/if}">
                                    <a href="{:url('fund/index')}">
                                        <div class="ic">
                                            <img src="__STATIC__/lib/index/images/fh10.png" alt="">
                                            <img src="__STATIC__/lib/index/images/fh10-1.png" alt="">
                                        </div>
                                        <h5>快速充值</h5><em></em>
                                    </a>
                                </dd>
                                <dd class="{if $menu_child == 'fund_log'}on{/if}">
                                    <a href="{:url('fund/log')}">
                                    <div class="ic">
                                        <img src="__STATIC__/lib/index/images/fh11.png" alt="">
                                        <img src="__STATIC__/lib/index/images/fh11-1.png" alt="">
                                    </div>
                                    <h5>充值记录</h5><em></em>
                                    </a>
                                </dd>
                                <dd class="{if $menu_child == 'fund_account'}on{/if}">
                                    <a href="{:url('fund/account')}">
                                    <div class="ic">
                                        <img src="__STATIC__/lib/index/images/fh12.png" alt="">
                                        <img src="__STATIC__/lib/index/images/fh12-1.png" alt="">
                                    </div>
                                    <h5>财务明细</h5><em></em>
                                    </a>
                                </dd>
                            </dl>
                        </div>
                    </li>
                    <li class="{if $menu_class == 'cards'}on{/if}">
                        <div class="fnav"><a href="javascript:;">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh5.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh5-1.png" alt="">
                            </div>
                            <h3>我的卡片</h3>
                        </a><i></i></div>
                        <div class="nali" style="display: {if $menu_class == 'cards'}block{/if}">
                            <dl>
                                <dd class="{if substr($menu_child,0,4) == 'card'}on{/if}">
                                    <a href="{:url('cards/index')}">
                                    <div class="ic">
                                        <img src="__STATIC__/lib/index/images/fh13.png" alt="">
                                        <img src="__STATIC__/lib/index/images/fh13-1.png" alt="">
                                    </div>
                                    <h5>快速开卡</h5><em></em>
                                    </a>
                                </dd>
                                <dd class="{if $menu_child == 'list_card'}on{/if}">
                                    <a href="{:url('cards/cardList')}">
                                    <div class="ic">
                                        <img src="__STATIC__/lib/index/images/fh14.png" alt="">
                                        <img src="__STATIC__/lib/index/images/fh14-1.png" alt="">
                                    </div>
                                    <h5>卡片列表</h5><em></em>
                                    </a>
                                </dd>
                                <dd class="{if $menu_child == 'list_tran'}on{/if}">
                                    <a href="{:url('cards/tranList')}">
                                    <div class="ic">
                                        <img src="__STATIC__/lib/index/images/fh15.png" alt="">
                                        <img src="__STATIC__/lib/index/images/fh15-1.png" alt="">
                                    </div>
                                    <h5>消费记录</h5><em></em>
                                    </a>
                                </dd>
                            </dl>
                        </div>
                    </li>
                    <li class="{if $menu_class == 'user'}on{/if}">
                        <div class="fnav"><a href="javascript:;">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh6.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh6-1.png" alt="">
                            </div>
                            <h3>个人中心</h3>
                        </a><i></i></div>
                        <div class="nali" style="display: {if $menu_class == 'user'}block{/if}">
                            <dl>
                                <dd class="{if $menu_child == 'user_account'}on{/if}">
                                    <a href="{:url('user/account')}">
                                        <div class="ic">
                                            <img src="__STATIC__/lib/index/images/fh16.png" alt="">
                                            <img src="__STATIC__/lib/index/images/fh16-1.png" alt="">
                                        </div>
                                        <h5>我的账号</h5><em></em>
                                    </a>
                                </dd>
                                {if $user_id == 1}
                                <dd class="{if $menu_child == 'card_check'}on{/if}">
                                    <a href="{:url('user/cardCheck')}">
                                        <div class="ic">
                                            <img src="__STATIC__/lib/index/images/fh16.png" alt="">
                                            <img src="__STATIC__/lib/index/images/fh16-1.png" alt="">
                                        </div>
                                        <h5>支付宝身份认证</h5><em></em>
                                    </a>
                                </dd>
                                {/if}
<!--                                <dd><a href="#">-->
<!--                                    <div class="ic">-->
<!--                                        <img src="__STATIC__/lib/index/images/fh17.png" alt="">-->
<!--                                        <img src="__STATIC__/lib/index/images/fh17-1.png" alt="">-->
<!--                                    </div>-->
<!--                                    <h5>操作记录</h5><em></em>-->
<!--                                </a></dd>-->
                            </dl>
                        </div>
                    </li>
<!--                    <li>-->
<!--                        <div class="fnav"><a href="#">-->
<!--                            <div class="icon">-->
<!--                                <img src="__STATIC__/lib/index/images/fh7.png" alt="">-->
<!--                                <img src="__STATIC__/lib/index/images/fh7-1.png" alt="">-->
<!--                            </div>-->
<!--                            <h3>在线客服</h3><span></span>-->
<!--                        </a></div>-->
<!--                    </li>-->
<!--                    <li>-->
<!--                        <div class="fnav"><a href="#">-->
<!--                            <div class="icon">-->
<!--                                <img src="__STATIC__/lib/index/images/fh8.png" alt="">-->
<!--                                <img src="__STATIC__/lib/index/images/fh8-1.png" alt="">-->
<!--                            </div>-->
<!--                            <h3>API</h3><span></span>-->
<!--                        </a></div>-->
<!--                    </li>-->
                    {if $is_code == 1}
                        <li class="{if $menu_class == 'check'}on{/if}">
                            <div class="fnav"><a href="{:url('check/index')}">
                                <div class="icon">
                                    <img src="__STATIC__/lib/index/images/fh5.png" alt="">
                                    <img src="__STATIC__/lib/index/images/fh5-1.png" alt="">
                                </div>
                                <h3>验证查询</h3><span></span>
                            </a></div>
                        </li>
                    {/if}
                    <li>
                        <div class="fnav"><a href="{:url('Home/logout')}">
                            <div class="icon">
                                <img src="__STATIC__/lib/index/images/fh9.png" alt="">
                                <img src="__STATIC__/lib/index/images/fh9-1.png" alt="">
                            </div>
                            <h3>退出登录</h3><span></span>
                        </a></div>
                    </li>

                </ul>
            </div>
            <div style="padding-left: 17px;padding-top:20px;font-size: 17px;">
                <span style="font-weight: bold;font-size: 20px;">Cardecho</span><br/>
                <span style="">联系方式</span><br/>
                <span style="font-size: 15px;">
                    微信:{$server_weixin}<br/>
                    邮箱:{$server_email}<br/>
                    周一至周六 9:00~ 18:00
                </span>
            </div>
            <div style="padding-left: 17px;padding-top:20px;font-size: 14px;">
                <div class="swiper-lide" style="height: 460px;width: 270px;">
                    <ul class="swiper-wrapper">
                        {if $list_tran_gun}
                        {foreach $list_tran_gun as $k=>$v}
                        <li class="swiper-slide">
                            {$v.ctime} {$v.username}在 {$v.shopping} 消费了{$v.amount_auth}
                        </li>
                        {/foreach}
                        {/if}
                    </ul>
                </div>
            </div>
            <div class="copyright">
                <a href="#">V1.0.1 <br />
                    CardEcho all rights <br />
                    Reserved
                </a>
            </div>
        </div>

        {__CONTENT__}
    </div>
</div>
<div class="mcmask"></div>
<div class="mcadtanc mcadtanc2">
    <div class="icons"></div>
    <div class="flxas">
        <div class="ult">
            <div class="hd">
                <h2>公告标题</h2>
            </div>
            <div class="lul">
                {foreach $notice_list as $k=>$v}
                <div class="li">
                    <div class="time">
                        {:getTime($v.ctime + 8*60*60 )}
                    </div>
                    <div class="txt">
                        {$v.title}
                    </div>
                    <div class="mors">
                        <a href="#" onclick="showNotice('{$v.text}')">查看详情</a>
                    </div>
                </div>
                {/foreach}
            </div>
        </div>
        <div class="url">
            <div class="hd">
                <h2>公告详情</h2>
            </div>
            <div class="dels ovs">
                <div class="ova" id="ova">
                    {$first_notice|raw}
                </div>
            </div>
        </div>
    </div>
</div>
<style type="text/css">
    .swiper-wrapper{
        transition-timing-function: linear !important;
    }
    .swiper-lide{
        height: 400px;
        overflow: hidden;
    }
</style>
<script type="text/javascript">

    // $('.fnaverlt .list li .fnav i').click(function(){
    //     $(this).parents('li').siblings('li').find('.nali').stop().slideUp();
    //     $(this).parents('li').find('.nali').slideToggle();
    // })

    $('.fnaverlt .list li .fnav').click(function(){
        $(this).parents('li').siblings('li').find('.nali').stop().slideUp();
        $(this).parents('li').find('.nali').slideToggle();
    })

    $('.mcadtanc .icons').click(function(){
        $('.mcmask').hide();
        $('.mcadtanc2').hide();
    })

    $('.fnotice .more').click(function(){
        $('.mcmask').show();
        $('.mcadtanc2').show();
    })
    $('.swiper-slide').click(function(){
        $('.mcmask').show();
        $('.mcadtanc2').show();
    })

    var swiper = new Swiper('.fnoticesw', {
        direction: "vertical",
        loop: true, //循环
        speed:2000,
        autoplay: {
            delay: 2000,
            stopOnLastSlide: false, //如果设置为true，当切换到最后一个slide时停止自动切换。（loop模式下无效）。
            disableOnInteraction: false, //用户操作swiper之后，是否禁止autoplay。默认为true：停止。
        },
        spaceBetween: 10, //间距
        observer:true,
        observeParents:true,
    });

    function showNotice(desc){
        $("#ova").html(desc);
    }

    var swiper2 = new Swiper('.swiper-lide', {
        slidesPerView: 'auto', //横屏屏个数
        spaceBetween: -400, //间距
        direction: "vertical",
        loop: true, //循环
        autoplay: {
            delay: 1,
            stopOnLastSlide: false, //如果设置为true，当切换到最后一个slide时停止自动切换。（loop模式下无效）
            disableOnInteraction: false, //用户操作swiper之后，是否禁止autoplay。默认为true：停止。
        },
        speed:2000,
    });
</script>
</body>
</html>